//
//  LYDPopViewController1.h
//  HAODE
//
//  Created by LiYinDi on 16/3/18.
//  Copyright © 2016年 reabam.com. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol LYDPopViewController1Delegate;
@interface LYDPopViewController1 : UIViewController
@property(nonatomic,weak) id<LYDPopViewController1Delegate> delegate;
@property (weak, nonatomic) IBOutlet UIButton *topAlphaBtn;
@property (weak, nonatomic) IBOutlet UIButton *cancelBtn;
@property (weak, nonatomic) IBOutlet UIView *parentView;

@property (weak, nonatomic) IBOutlet UIImageView *productImageView;
@property (weak, nonatomic) IBOutlet UILabel *countBackGroundLabel;
@property (weak, nonatomic) IBOutlet UILabel *countLabel;
@property (weak, nonatomic) IBOutlet UILabel *productNameLabel;
@property (weak, nonatomic) IBOutlet UILabel *priceLabel;
@property (weak, nonatomic) IBOutlet UILabel *stockLabel;
@property (weak, nonatomic) IBOutlet UILabel *productImageBottomLineLabel;

@property (weak, nonatomic) IBOutlet UIView *specParentView;
@property (weak, nonatomic) IBOutlet UIScrollView *specScrollView;
@property (weak, nonatomic) IBOutlet UIView *specScrollContentView;
@property (weak, nonatomic) IBOutlet UIView *colorView;
@property (weak, nonatomic) IBOutlet UIView *sizeView;

@property (weak, nonatomic) IBOutlet UIView *countParentView;
@property (weak, nonatomic) IBOutlet UIButton *selectedGoodDetailBtn;
@property (weak, nonatomic) IBOutlet UITableView *specTableView;
@property (weak, nonatomic) IBOutlet UILabel *xLabel;
@property (weak, nonatomic) IBOutlet UIButton *confirmBtn;

@property (nonatomic, strong) NSString *productURL;
@property (nonatomic, strong) NSString *productNameStr;
@property (nonatomic, strong) NSString *productPriceScopeStr;
@property (nonatomic, strong) NSString *productStockCountStr;
@property (nonatomic, strong) NSString *countStr;
@property (nonatomic, strong) NSString *itemIDStr;
@property (nonatomic, strong) NSString *itemCodeStr;
@property (nonatomic, strong) NSString *addTypeString;
@property (nonatomic, strong) NSString *typeString;

@property (nonatomic, strong) NSString *shopCartId;
@property (nonatomic, strong) NSString *planId;
@property (nonatomic, strong) NSString *itemId;
@property (nonatomic, strong) NSString *specId;

@property (nonatomic, strong) NSString *pid;
- (void)show;
@end
@protocol LYDPopViewController1Delegate <NSObject>
@optional

-(void)closePop:(NSString *)countStr;
-(void)update:(NSDictionary *)dic;
@end